package incontrol.core.protocol.requests;

import incontrol.core.protocol.IServerRequest;
import incontrol.plugin.protocol.Channel;

import com.google.common.base.Objects;

@Channel(name = "/incontrol/plugins/count")
public class GetRegisteredPlugins implements IServerRequest {

	private String channelName;

	public GetRegisteredPlugins(String channelName) {
		this.channelName = channelName;
	}

	public String getChannelName() {
		return channelName;
	}

	@Override
	public String toString() {
		return Objects.toStringHelper(this).add("super", super.toString())
				.add("channelName", channelName).toString();
	}

}
